package com.bb.blog.biz.manage.dao;


import com.bb.blog.biz.manage.model.SysMenu;
import feign.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SysMenuMapper extends Mapper<SysMenu> {
    SysMenu selectByCode(@Param("code") String code);

    Boolean existsByCode(@Param("code") String code);

    List<SysMenu> selectByPcode(@Param("pcode") String pcode);
}
